import {createApp} from 'vue'
import './style.css'
import App from './App.vue'

//引入
import 'tailwindcss/tailwind.css'
import './plugins/router.ts'

//jquery
import $ from 'jquery'
// @ts-ignore
window.$ = $

//lodash
import _ from 'lodash'
// @ts-ignore
window._ = _

//vue-toastification
import Toast, {POSITION} from "vue-toastification";
// Import the CSS or use your own!
import "vue-toastification/dist/index.css";
const options = {
    // You can set your default options here
    position: POSITION.TOP_CENTER,
    maxToasts: 3,
    timeout: 2000,
};


//swiper
import { register } from 'swiper/element/bundle';
register();


import router from "./plugins/router.ts";
import {createPinia} from "pinia";
//创建实例
let app = createApp(App)

app.use(router)
app.use(createPinia())
app.use(Toast, options);
app.mount('#app')




